<{extends file="../Share/listsub.tpl"}>
<{block name="content"}>
    <{$ejdh = EJDH::create($params['EJDH_BH'])}>
    <div class="list-view" id="SJDH_List" data-url="<{'SJDH_Query'|U}>" data-type="post">
        <div class="list-view-operation-top clearfix">
            <div class="list-view-add">
                <span class="button" data-role="view" data-url="<{'SJDH_Insert'|U}>" data-type="post" data-message="">添加</span>
                <{*<span class="button" data-role="refresh">刷新</span>*}>
                <span class="button" data-role="back" data-parent="1">返回</span>
            </div>
            <div class="list-view-search" data-role="head">
                <span class="remark">
                    二级导航：<{$ejdh->EJDH_MC}>
                </span>
                <input type="hidden" name="EJDH_BH" value="<{$params['EJDH_BH'] }>"/>
                <label>模糊查询</label>
                <input type="text" class="search-input" title="按三级导航名称进行模糊查询" id="SJDH_MHCX" name="MHCX"/>
                <span class="space"></span>
                <{*<{$ejdh= EJDH::query()}>*}>
                <{*<{'EJDH_BH'|html_dropdownlist:$ejdh.DataList:null:'EJDH_BH':'EJDH_MC':'请选择二级导航...'}>*}>
                <{*<span class="space"></span>*}>
                <select name="SJDH_TZFS">
                    <option selected="selected" value="">请选择跳转方式...</option>
                    <option value="内部链接">内部链接</option>
                    <option value="外部链接">外部链接</option>
                </select>
                <span class="space"></span>
				<span class="button" data-role="refresh">搜索</span>
            </div>
        </div>
        <div data-role="target">
            <{include file="SJDH_Query.tpl"}>
        </div>
    </div>
<{/block}>
<{block name="scripts"}>
    <script>
        $(function(){
            //在模糊查询输入框中按回车键，自动刷新
            $("#SJDH_MHCX").keypress(function (event) {
                if (event.keyCode == 13) {
                    $(this).siblings("span[data-role=refresh]").trigger("click");
                }
            });
            $("#SJDH_List").listView();
        });
    </script>
<{/block}>
<{block name="nav"}>
    <a href="<{'SJDH_Index'|U}>" target="_self" >三级导航</a>
<{/block}>
<{block name="style"}><{/block}>

